package com.tisumoon.msg.data.bean.receive;

import com.google.gson.reflect.TypeToken;
import com.tisumoon.msg.data.abs.AbsReceived;

/**
<pre>
{
    "type": "yo",               
    "fromuid": "1000000751",         //发送过来的对方uid
    "time": 1405312194                //yo时间，注意时间是10位数，精确到秒
}
</pre>
 */
public class Yo extends AbsReceived<Yo> {
	public static final String TYPE_YO	= "yo";

	public long fromuid;
	public long time;

	@Override
	public Yo fromJson(String json) {
		return fromJsonWithAllFields(json, Yo.class);
	}

	@Override
	protected String[] typeValues() {
		return new String[]{TYPE_YO};
	}

	@Override
	protected TypeToken<Yo> getTypeToken() {
		return null;
	}
}
